#ifndef MULTIPLEX_H
#define MULTIPLEX_H

#include <opencv2/opencv.hpp>

enum MultiplexMode { TDM, FDM, CDM, STDM };

int multiplex(MultiplexMode mode, unsigned char* c, const int c_size,
    const unsigned char* a, const int a_len,
    const unsigned char* b, const int b_len);

int demultiplex(MultiplexMode mode, unsigned char* a, const int a_size,
    unsigned char* b, const int b_size,
    const unsigned char* c, const int c_len);

#endif // MULTIPLEX_H